﻿using B.S.Business.ErrorCode;
using MediatR;

namespace B.S.Business.Write.API.Applications.Command
{
    public class PurchaseAddCommand:IRequest<ApiResult<object>>
    {
        public int PurchaseId { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string Productcode { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal Univalence { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal Quantity { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal ExtendedPrice { get; set; }
        public bool IsDeleted { get; set; }

    }
}
